package com.wu.mappers;

import com.wu.pojo.Hotsearch;
import com.wu.pojo.vo.HotsearchVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
@author sun
@date 2022/3/21 - 7:40
*/
public interface HotsearchMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Hotsearch record);

    int insertSelective(Hotsearch record);

    Hotsearch selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Hotsearch record);

    int updateByPrimaryKey(Hotsearch record);

    List<HotsearchVo> findHotsearch(@Param("hotsearch") Hotsearch hotsearch);
}
